package com.dfrobot.demo.domain.entity;

import java.util.Date;
import javax.persistence.*;
import lombok.Data;

@Data
@Table(name = "df_customer_tag")
public class DfCustomerTag {
    @Id
    @Column(name = "tag_id")
    private Integer tagId;

    @Column(name = "customer_id")
    private Integer customerId;

    private String email;

    /**
     * 1 教育用户 2. 企业用户 3. 个人用户
     */
    private Integer tag;

    /**
     * 1 普通注册用户 2.未注册用户
     */
    private Boolean status;

    private String interest;

    @Column(name = "interest_tag")
    private String interestTag;

    /**
     * 1 活跃用户，2 沉默用户， 3 睡眠用户，4 流失用户
     */
    @Column(name = "r_value")
    private Integer rValue;

    /**
     * 1 新客户，2 老客户，3 成熟客户，4 忠诚客户
     */
    @Column(name = "f_value")
    private Integer fValue;

    /**
     * 1 低贡献客户  ，2 中贡献客户， 3 中高贡献客户 ， 4 高贡献客户
     */
    @Column(name = "m_value")
    private Integer mValue;

    @Column(name = "date_added")
    private Date dateAdded;

    @Column(name = "date_modified")
    private Date dateModified;

    /**
     * 操作
     */
    private String operation;
}